#ifndef MODEL_H
#define MODEL_H
#include "Includes.h"
#include "Vector.h"
#include "ShaderLoader.h"

struct Vertex
{
	Vertex();
	Vertex(Vector3 Position, Vector3 Normal, Vector3 Color, Vector2 Texcoord);

	Vector3 Position;
	Vector3 Normal;
	Vector3 Color;
	Vector2 Texcoord;
};
class Model
{
public:
	Model(const char* fileName);
	~Model();

	void Draw(ShaderInfo shi);
	Vertex* pVertices;
	int nVertices;

private:
	void LoadOBJ(std::ifstream& file);
	void Load3DS(std::ifstream& file);
};

#endif // MODEL_H
